<!DOCTYPE html>
<!--
	作者：xiaolinzi@vip.qq.com
	时间：2015-10-13
	描述：
-->
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
		<meta name="format-detection" content="telephone=no">
		<title>金融市场调查互评系统</title>
		<!--<script type="text/javascript" src="http://tajs.qq.com/stats?sId=37342703" charset="UTF-8"></script>-->
		<link rel="stylesheet" href="css/frozen.css">
		<link rel="stylesheet" href="css/basic.css" />
		<link rel="stylesheet" type="text/css" href="css/kfzxfm.css" />
		<script src="lib/zepto.min.js"></script>
		<script src="js/frozen.js"></script>
		<script src="js/av-mini.js"></script>
		<script src="js/kfzxfm.js"></script>
		<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
		<script type="text/javascript" src="js/jquery.raty.js"></script>
	</head>

	<body>
		<script type="text/javascript">
			if (window.localStorage) {
					var regcode = localStorage.regcode;
					var evalstatus = localStorage.evalstatus;
					var submit_code = localStorage.submit_code;
					if (regcode != undefined) {
						if (evalstatus == 0) {
							if(submit_code != undefined){
								if(submit_code == 1){//如提交標誌為正在提交，則提示正在提交 linzr 20160113
									location.href = "loading.html";
								}else{
									//stay on this page
								}
							}else{
								//stay on this page
							}
//							location.href = "choosebelong.html";
						} else{
							//location.href = "chooseresult.html";//评价结果页面
							location.href = "done.html";
						}
						//return;
					} else {
						location.href = "login.html";
					}
				}
		</script>
		<header class="ui-header ui-header-positive ui-border-b">
			<h1 title="" style="font-family: '微软雅黑'; font-size: large;">金融市场调查互评系统</h1>
			<br />
			<!--<p style="font-family: '微软雅黑';  font-size: small;">请选择互评业务线</p>-->
		</header>
		<div class="ui-container ui-center" style="font-family: '微软雅黑'; color: #18b4ed; font-size: large;height: 50px;">
			<p>请选择互评业务线</p>
			<p class="ui-container ui-center" style="font-family: '微软雅黑'; color: red; font-size: small;position: fixed;height: 10px;">
				<br />总体线 可评分数: <span id="man_all_num"></span> 已评分数:<span id="man_used_num">0</span>
				<!--
                                                                                                 	作者：xiaolinzi@vip.qq.com
                                                                                                 	时间：2015-10-14
                                                                                                 	描述：刪除剩餘分數
                                                                                                 剩余分数:<span id="last_num"></span>--></p>
			<p id="other_num" class="ui-container ui-center" style="font-family: '微软雅黑'; color: red; font-size: small;position: fixed;height: 10px;display: none;">
				<br />
				<br />其他线 可评分数: 0 已评分数:0</p>
		</div>
		<br />
		<br />
		<section class="ui-selector">
			<!--<header class="ui-border-b">
				<h3>选择</h3>
			</header>-->
			<div class="ui-selector-content" style="display:">
				<ul>
					<li class="ui-selector-item">
						<h3 class="ui-border-b">
          <span style="color: red; font-size: xx-large;">*</span><p>总体线</p><span id="man_nums" class="ui-badge"></span>
        		</h3>
						<ul id="man" class="ui-list ui-border-b">
							<!--<li>
								<div class="ui-avatar-s">
									<span style="background-image:url(img/logo.jpg)"></span>
								</div>
								<div class="ui-list-info ui-border-t">
									<h4 class="fmer">美国队长</h4>
									<textarea class="ui-input-wrap ui-border-t" style="display: none;"></textarea>
								</div>
								<div id="star" style="display: none;"class="star ui-list-info ui-border-t"></div>
							</li>-->

						</ul>
					</li>
					<li class=" ui-selector-item" style="display: none;">
						<h3 class="ui-border-b">
          <p>其他组</p><span class="ui-txt-info ui-badge"></span>
        </h3>
						<ul id="other" class="ui-list ui-border-b">
							<!--<li>
								<div class="ui-avatar-s">
									<span style="background-image:url(../img/ava1.png)"></span>
								</div>
								<div class="ui-list-info ui-border-t">
									<h4>飞翔的企鹅</h4></div>
							</li>-->
						</ul>
					</li>
				</ul>
			</div>
		</section>
		<br />
		<p style="font-family: '微软雅黑'; color: red; font-size: medium; text-align: center;">
			标*为必填内容
		</p>
		<br />
		<!--<button class="ui-btn-lg ui-btn-danger" style="width: 200px; margin: auto;">
			提交
		</button>-->
		<!--
        	作者：xiaolinzi@vip.qq.com
        	时间：2015-10-13
        	描述：不使用button
        -->
		<a id="submit" class="ui-btn-lg ui-btn-danger" style="margin: auto; width: 200px;" href="javascript:preSubmit()">提交</a>

		<script>
			 //生成全組信息
			getMembers(sessionStorage.getItem("prodid"));
			 //			getat("man",2);
			 //			var clicked;
			 //			$(document).ready(function() {
			 //				$(".fmer").click(function() {
			 //					if (clicked != $(this).text()) {
			 //						//					alert($(this).parent().next());
			 //						//					$(".star").show();
			 //						$(".fmer").next().hide();
			 //						$(this).next().show();
			 //						$(this).parent().next().show();
			 //						clicked = $(this).text();
			 //					} else {
			 //						$(this).next().hide();
			 //						clicked = 'inactive';
			 //					}
			 //				});
			 //			});
			$("input[type='range']").change(function() {
				$(this).next('p').text($(this).val());
			});
			$("h3").filter(".ui-border-b").click(function() {
				var parent = $(this).parent();
				if ($(this).parent().hasClass("active")) {
					$(this).parent().removeClass("active");
				} else {
					$(".ui-selector-item").removeClass("active");
					$(this).parent().addClass("active");
				}
			});
		</script>
	</body>

</html>